package org.example.translation;

/**
 * 翻译结果数据
 */
public class TranslationResponseBean {
    //源语言文字
    private String sourceString;
    //源语言国家
    private String sourceCountry;
    //目标语言国家
    private String targetCountry;
    //目标语言翻译结果
    private String targetResult;

    public String getSourceString() {
        return sourceString;
    }

    public TranslationResponseBean setSourceString(String sourceString) {
        this.sourceString = sourceString;
        return this;
    }

    public String getSourceCountry() {
        return sourceCountry;
    }

    public TranslationResponseBean setSourceCountry(String sourceCountry) {
        this.sourceCountry = sourceCountry;
        return this;
    }

    public String getTargetCountry() {
        return targetCountry;
    }

    public TranslationResponseBean setTargetCountry(String targetCountry) {
        this.targetCountry = targetCountry;
        return this;
    }

    public String getTargetResult() {
        return targetResult;
    }

    public TranslationResponseBean setTargetResult(String targetResult) {
        this.targetResult = targetResult;
        return this;
    }

    @Override
    public String toString() {
        return "TranslationResponseBean{" +
                "sourceString='" + sourceString + '\'' +
                ", sourceCountry='" + sourceCountry + '\'' +
                ", targetCountry='" + targetCountry + '\'' +
                ", targetResult='" + targetResult + '\'' +
                '}';
    }
}
